﻿@model IEnumerable<DFYE.Web.Models.studentDailyType>

@{
    ViewBag.Title = "Index";
}

<h2>学生日志类型</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            类型名称
        </th>
        <th>
            模板代码(为空);
        </th>
        <th>
            备注
        </th>
        <th>
            排序
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.name)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.TempleteCode)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.bak)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.index)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.ID }) |
            @Html.ActionLink("Details", "Details", new { id=item.ID }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.ID })
        </td>
    </tr>
}

</table>
